/**
 * Created by chencheng on 2017/6/17.
 */

import {
    getUserList,
    startUser,
    stopUser,
    delUser,
    addUser,
    updateUser
} from '../../webAPI/userManager';


export const getUserListAction = () => getUserList();

export const startUserAction = (user_id) => startUser(user_id);

export const stopUserAction = (user_id) => stopUser(user_id);

export const delUserAction = (user_id) => delUser(user_id);

export const addUserAction = (user_name, user_phone, user_password, user_email, account_id) => addUser(user_name, user_phone, user_password, user_email, account_id);

export const updateUserAction = (user_id, user_name, user_phone, user_email, account_id) => updateUser(user_id, user_name, user_phone, user_email, account_id);



